pkgname=postmarketos-ui-weston
pkgver=4
pkgrel=3
pkgdesc="(Wayland) Reference compositor (demo, not a phone interface)"
url="https://github.com/postmarketOS"
arch="noarch"
license="GPL3+"
depends="weston-clients weston weston-shell-desktop weston-backend-fbdev
        weston-backend-drm weston-backend-x11 weston-terminal
        weston-xwayland xorg-server-xwayland postmarketos-demos"
makedepends=""
install="$pkgname.post-install"
subpackages=""
source="start_weston.sh weston.ini.default $install"
options="!check"

package() {
	install -Dm644 "$srcdir"/start_weston.sh \
		"$pkgdir"/etc/profile.d/start_weston.sh
	install -Dm644 "$srcdir"/weston.ini.default \
		"$pkgdir"/etc/xdg/weston/weston.ini.default
}
sha512sums="4de1a34464db86dd25b306efb676c292152df093daa7850af3cb1b9fe198c01f9ab6a02d171b61b43af4d60009991182f18b9727bad3fd3d763df3797cbdb716  start_weston.sh
789ef8e8ddf46e751fb394bd95f83f0cf74b49c885a39b4f4a37452175e300d66b56242a5e1646746a158f58545f62d9050c4cb9007aeefd98f68ad1cccdd5fa  weston.ini.default
794827b6878cdca8231fc106ba649a3e9aa9f74df0ef7e5e3598462b3c93c67cb3b0af95cadb92a62471730a518024ae6be95c0fc59af6b929482148f16c2184  postmarketos-ui-weston.post-install"
